package com.atguigu.javaee.IOC;
//底盘
public class Buttom {
    private Tire tire;
    public Buttom(int size){
        tire=new Tire(size);
    }
    public void init(){
        System.out.println("执行了buttom的初始化");
        //依赖轮胎
        tire.init();
    }
}
